package com.csii.adhoc.dataunits.service;

import com.csii.adhoc.dataunits.*;

public interface PictureService {

    // 图形属性
    int deleteByPrimaryKey(PictureAttrKey key);

    int insert(PictureAttr record);

    int insertSelective(PictureAttr record);

    PictureAttr selectByPrimaryKey(PictureAttrKey key);

    int updateByPrimaryKeySelective(PictureAttr record);

    int updateByPrimaryKey(PictureAttr record);

    // 颜色信息
    int deleteByPrimaryKey(PictureColorKey key);

    int insert(PictureColor record);

    int insertSelective(PictureColor record);

    PictureColor selectByPrimaryKey(PictureColorKey key);

    int updateByPrimaryKeySelective(PictureColor record);

    int updateByPrimaryKey(PictureColor record);

    // 图形大小
    int deleteByPrimaryKey(PictureSizeKey key);

    int insert(PictureSize record);

    int insertSelective(PictureSize record);

    PictureSize selectByPrimaryKey(PictureSizeKey key);

    int updateByPrimaryKeySelective(PictureSize record);

    int updateByPrimaryKey(PictureSize record);

    // 标签信息
    int deleteByPrimaryKey(PictureMarkKey key);

    int insert(PictureMark record);

    int insertSelective(PictureMark record);

    PictureMark selectByPrimaryKey(PictureMarkKey key);

    int updateByPrimaryKeySelective(PictureMark record);

    int updateByPrimaryKey(PictureMark record);

    // 提示信息
    int deleteByPrimaryKey(PictureNoticeKey key);

    int insert(PictureNotice record);

    int insertSelective(PictureNotice record);

    PictureNotice selectByPrimaryKey(PictureNoticeKey key);

    int updateByPrimaryKeySelective(PictureNotice record);

    int updateByPrimaryKey(PictureNotice record);

    // 组件样式
    int deleteByPrimaryKey(String unitId);

    int insert(PictureStyle record);

    int insertSelective(PictureStyle record);

    PictureStyle selectByPrimaryKey(String unitId);

    int updateByPrimaryKeySelective(PictureStyle record);

    int updateByPrimaryKey(PictureStyle record);

    // 字体配置
    int insert(PictureFont record);

    int insertSelective(PictureFont record);
}
